package org.huang.sample02.bean;

/**
 * @描述: 这是一个简单的Bean实例2
 * @作者 Mr.Huang
 * @创建时间 2017-08-07
 * @版本: 1.0
 */
public class SampleBean2 {

    private Integer id;
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SampleBean2() {
    }

    public SampleBean2(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "SampleBean2{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
